import {get, post} from '../fetch'

// 【banner】--获取列表
export const getJdBannerList = (params) => get('jdBanner/getList', params)
// 【banner】--获取列表
export const getLiveRecordList = (params) => get('jdLiveRecord/getLiveRecordList', params)
// 【banner】--获取报名列表
export const getMatchList = (params) => get('jdMatch/getMatchList', params)
// 【banner】--获取新闻列表
export const getNewsList = (params) => get('jdNews/getNewsList', params)
// 【banner】--获取场馆列表
export const getStationList = (params) => get('jdStation/getStationList', params)
// 【banner】--新增数据
export const saveJdBanner = (params) => post('jdBanner/save', params)
// 【banner】--更新数据
export const editJdBanner = (params) => post('jdBanner/edit', params)
// 【banner】--删除数据
export const deleteJdBanner = (data) => post('jdBanner/delete/' + data, data)
